package com.cwh.service;

import java.util.List;

import com.cwh.entity.Baoxiaobill;

public interface BaoxiaobillService {
	
	//查看所有报销记录
	public List<Baoxiaobill> findBoxiaobillList();
	
	//根据userId获取myBaoxiaoBill表对应的报销记录
	public List<Baoxiaobill> findBaoxiaobillListByUserId(long id);
	
	//在报销表插入数据后，并能获取插入后的id
	public void inserBaoxiaobillReturnId(Baoxiaobill baoxiaobill);
	
	//根据报销表id查找Baoxiaobill记录
	public Baoxiaobill findBaoxiaobillById(int id);
	
	//根据实体更新
	public void updateBaoxiaobill(Baoxiaobill baoxiaobill);
	
	//通过id删除报销表记录
	public void deleteBaoxiaobillById(Integer id);
	
}
